package org.example;

import com.alibaba.fastjson.JSON;
import org.example.entity.User;
import org.example.vo.InvitationVo;

import javax.crypto.Cipher;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.SecretKeySpec;
import java.security.NoSuchAlgorithmException;
import java.util.Base64;

public class jjj {
    public static void main(String[] args) {
//        User user = new User();
//        user.setPhone("12345678911");
//        user.isChild=0;
//        user.id=3;
//        user.exits=0;
//        String s = JSON.toJSONString(user);
//        System.out.println(s);


        String regex = "1[0-9]{10}";;
        String id = "19120521918";

        if (id.matches(regex)) {
            System.out.println("是");
        } else {
            System.out.println("不是");
        }
    }
}
